The volume of one pan is 7 x 7 x 2 which is the same as 7^2 x 2 Multiply this by 4 and we get the total volume to be (7^2 x 2) x 4 which is what choice D shows.
The diagram tells us 3 things: the right angle and the two corresponding side measurements. Because the side measurements are corresponding, we can set a proportion:
6/9=9/15
If this proportion is true, it means the triangles are similar. If this proportion is impossible, it means the triangles are no similar.
To calculate this, we use cross multiplication.
6/9=9/15
6*15=9*9 90=81
90 does not equal 81 making this proportion impossible, which concludes that these two triangles are not similar.
I hope this helps! Please comment if you have any questions.