Question 1

x = 3, y = 6, p = 24.