f (x) = 3x-1 g(x) = 4x

A) (fog) x = ?

B) (gof) x = ?