Identify the value of y.

The figure shows a right triangle. One leg has a length of 9 units. The other leg has a length of y units. The hypotenuse has a length of y plus 3 units.

y = 6
y = 12
y = 3
y = 15