The mechanical system

(30 pts) Given the mechanical system and its bond graph shown below, assign causality and derive the state space model for the system. The outputs for the system arc the positions of the two masses. Write your final answer in the form
i=Ax+Bu y=Cx+Du
using physical values such as m, b, and k.