For profit i got something like 1185.
x=320
y=50
so y and z =25 i think
I had the O line as P=3x + 4.45 y
cos it was P=3x + 2.25y +2.25 z and y=z so i got the above formula.
But I was in a hurry and didnt read the question right so i got the line wrong i think. But i did put it equal to 450.