SOLUTION
Given the question in the image, the following are the solution steps to answer the question.
STEP 1: Write the given functions

STEP 2: Find f o g

f o g = 40x+8
STEP 3: Find g o f

g o f = 40x + 64
STEP 4: Find f o f

f o f = 25x+48
STEP 5: Find g o g

g o g = 64x