First, make the free body diagram, of an inclined plane with acceleration in an inclined plane moving in an upward direction.

With respect to the car, the F.B.D. is as follows at equilibrium, T is equal and opposite to the resultant of a1 ​ and a2 ​ As a1+a2 ​ makes 30∘with vertical; T and, the string is also making 30∘ with vertical.