Up to roundoff error, you should be able to answer that yourself. Plug your solutions back into the original problem and check it.
Your approach (I didn't check your calculations) to solving for x is certainly correct. If you made a mistake, it was a computational one.