Mark M. answered 11/12/19
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Since y = 2 - 5x, P = xy = x(2 - 5x) = -5x2 + 2x
The graph of P is a parabola opening downward with maximum when x = -2/[2(-5)] = 1/10
Maximum value of P is (1/10)[2 - 5(1/10)] = (1/10)(3/2) = 3/20.