.....is maximized?
4 = 2πr + 4s
A = πr2 + s2
Solve the first equation for one of the variables in terms of the other and substitute into the 2nd equation.
Then find the derivative of A with respect to the remaining variable and set the derivative = 0.
Solve for the variable.