Let's do it a little different. First solve the second equation for so . Substitute this into the first equation. This gives

. Solving for gives . Now substitute this into the first equation giving (after simplying gives

(same equation as for x)

The solution as you said is (I've chosen different constants not to be confusing with your x(t) solution). Now substitute this into (1) and (2) above to get .