Look at the graph, here : https://www.desmos.com/calculator/ksxxeals66
The corner points appear to be
(4,4) (.154, 6.308) and ( 2,10)
P at (4,4) = 40
P at (2,10) = 44
P at (.154, 6.308) = 20.002
So (x, y) = (.154, 6.308) minimizes P = 20.002 and (2,10) maximizes P = 44
