contestada

A weight W is tied to a trolley of mass M by a light string passing over a frictionless pulley. The trolley has an acceleration a on a frictionless table. The acceleration due to gravity is g.
What is W ? A. Mag/(g−a) B. Mag/(g+a) C. Ma/(g−a) D. Ma/(g+a)