So, I was trying to do an easy trig. substitution problems in two different ways (changing which leg to make which on the triangle)

And I came up with two very similar answers, The one that is correct has been determined by both my book and mathematica.

But, I can't see why the wrong one is wrong. Any ideas?