Kevin S. answered 10/24/22
Outstanding Math PHD Tutor 20 years of Developing Mastery + Confidence
Just a clarification, q = (80 - 2p)2 has only a global minimum since the leading coefficient of the quadratic term is positive. If you plot the equation in the form you gave it, it can only be minimized, not maximized.
Are you sure this is the form of the equation you were given instead of q = 80 - 2p2?