When looking at it, you can see that the location of the 9 and 12 are the same. So, you can solve by first finding the difference in the two. Turns out 12 is 4/3 times bigger than 9. So, divide each of your sides to figure out what each side is.
X = 17.25
Y = 18
Z = 17.25
Hope this helps :)