Question 3
x = 0, y = 2, z = 6, p = 22.