I keep getting a solution of
P(x,y,z)=P(10-0.5z,4-0.5z,z)
>>9151995
fuck off with your grade school homework problems
>>9152049
Solve it using Gauss-Jordan elimination.
>>9151995
Write a program to do Gauss-Jordan elimination for you, plug the numbers into that.