Given that for all values of x,
f(x) = 4x + p
g(x) = px + 1
and fg(x) = 12x + q
where p and q are constants.
Work out the values of p and q.