There r a few more. Please answer them asap....I'm so screwed for my major test

Q. A steel ball is suspended from the ceiling of an accelerating carriage by means of two cords A and B. Determine the acceleration- a of the carriage which will cause the tension in A to be twice that in B
Ans-g/3 X root3
I don't even know where to begin from in this one. I'm flunking this test or sure