90^2+x^2=150^2

Yet when I try to solve this equation by taking the square root of both sides, I end with "x=60" as my answer. This clearly cannot be true, and through trial and error I found the correct answer to be "x=120". Am I starting with an incorrect equation or am I solving it wrong? Either way, how do I get to the right answer by setting up an equation?