A ball of mass $0.200 \mathrm{kg}$ has a velocity of $150 \hat{\mathbf{i}} \mathrm{m} / \mathrm{s} ;$ a ball of mass $0.300 \mathrm{kg}$ has a velocity of $-0.400 \hat{\mathbf{i}} \mathrm{m} / \mathrm{s} .$ They meet in
a head-on elastic collision. (a) Find their velocities after the collision. (b) Find the velocity of their center of mass before and after the collision.