Solve each part of given question:
Question: A roller-coaster car moves 227 ft horizontally and then rises 115 ft at an angle of 31.0° above the horizontal. It next travels 115 ft at an angle of 40.0° downward (below the horizontal).
Part A: What is its displacement from its starting point? (Assume the initial horizontal motion of the car to be along the +x axis).
Part B: What is the magnitude?
Part C: Direction Counterclockwise from the x-axis?
If possible just a brief explanation how you got the answer?