B is stationary and A has momentum p before impact. During impact