You have to find out the direction of the acceleration first, then the net force in the direction is the one causing the acceleration. The other component must then be perpendicular to the direction of the acceleration and it should balance off the force in the opposite direction (or otherwise, there will be net force and hence acceleraton).
So, the forces must be resolved in the direction of the acceleration, and the one perpendicular to the acceleration.