For 9x2+30x+25 the terms being squared are 3x and 5, and 2⋅3x⋅5=30x matches the middle term.
9x2+30x+25=(3x+5)2
The first choice would need (3x+5)2 to match its middle term, but that gives a last term of 25, not 20. The other two fail because 25x and 15x are not 2⋅3x⋅5=30x.