That is the equation for the description. That is according to Pythagorean Theorem formula for right triangle. Your already-learned algebra skills allow you to solve for x.
Simplify, collect like terms, use either factoring or general solution for quadratic formula.