Solve the below problem:
Q: Blocks A and B have masses of 4 kg and 1.5 kg, respectively, and are connected by a cord-and-pulley system and released from rest in the position shown with the spring undeformed. Knowing that the constant of the spring is 300 N/m, determine
(a) The velocity of block B after it has moved 150 mm,
(b) The maximum velocity of block B,
(c) The maximum displacement of block B. Ignore friction and the pulleys andspring.