The mean of 1, 7, 5, 3, 4 and 4 is m. The numbers 3, 2, 4, 2, 3, 3 and p

The mean of 1, 7, 5, 3, 4 and 4 is m. The numbers 3, 2, 4, 2, 3, 3 and p have mean m-1 and median q. Find the values of p and q.

image