Answer:
P = 17
Explanation:
let's separate this into x and y components
x component: 3x
as x increases, so does the x component. e.g. 0 * 3 = 0, 4 * 3 = 12. therefore, we want x as high as possible
y component: y
as y increases, so does the y component. this is because the y component is literally just y.
therefore, given these two, to maximize P, we want x and y to be as high as possible
in 0 ≤ x ≤ 4, the maximum of x is 4
in -1 ≤ y ≤ 5, the maximum of y is 5
plug these in to get
3(4) + 5 = 17 as our answer