The numbers in this problem get messy.
Let h be the height of the cylinder and r its radius.
Then h/3.5 = (2.25-r)/2.25 and
V=πr2h
Substitution of the expression for h into the expression for V yields a cubic in r.
Differentiation of V with respect to r eventually gives 3r2=9/4.
You should do the substitution and follow the algebra to the solution from here.