solve {1x+2y+3z=10, 4x+5y+6z=10 ,px+8y+9z=10}