A light spring having a force constant of 110 N/m is used to pull a 10.0 kg sled on a horizontal frictionless ice rink. The sled has an acceleration of 2.0 m/s^2

(a)By how much does the spring stretch if it pulls on the sled horizontally?

(b)By how much does the spring stretch if it pulls on the sled at 30.0^\circ above the horizontal?