You can put this solution on YOUR website!
So then what is the maximum of ?
You can substitute from above,
So,
So find the maximum of Z.
Since there is a negative coefficient in front of the quadratic term, the parabola opens downward and has a maximum.
Since it's a parabola you can convert to vertex form and find the maximum and the location of the maximum.