Given that the problem does not specify if y is opposite, adjacent or hypotenuse side, I will provide two solutions to this problem.
Case 1. Y is the hypotenuse side. (See figure 1)
According to the Pythagorean Theorem, for a right triangle, it is true that:
[tex]c^{2}=a^{2}+b^{2}[/tex]
being c the hypotenuse side and a and b the opposite and adjacent side respectively. So, for the figure 1 it is true that:
z = a = 15cm
x = b = 9cm
y = c = ?
[tex]y^{2}=9^{2}+15^{2}=306[/tex]
∴ [tex]y=\sqrt{306}=17.492cm[/tex]
Case 2. Y is the opposite side (The same happens as if it were the adjacent side). (See figure 2)
From the equation:
[tex]c^{2}=a^{2}+b^{2}[/tex]
For the figure:
y = a = ?
x = b = 9cm
z = c = 15cm
We need to isolate a, so:
[tex]a^{2}=c^{2}-b^{2}[/tex]
[tex]a^{2}=15^{2}-9^{2}=144[/tex]
∴ [tex]y=a=\sqrt{144}=12cm[/tex]