A rectangular brass slave has a square base of side x cm, and height h cm, its weight, w kg, is given by the formula w=(3x^2 h)/10. How is w changed if x is trebled and h is halved?

(with solution pls... tnx...)

It would be helpful if you put your school subject in the subject line. I do not know if you are a calculus student, or an algebra (unknown level).

algebra thinking:
w= k* x^2 h/10
w1=k(3x)^2 /10 * (h/2)=9/2 x^2 h=9/2 w
so weight changes by a factor of 4.5