A given figure shows a rectangle inscribed in an isoceles right triangle whose hypotenuse is 18 units long. Express the y coordinate of P terms of x