The only thing you can control is your effort and your attitude.
Every mathematical problem has a solution, but not every solution is immediately apparent.