You weren't asked to solve anything for x. Your answers for f of g and g of f are correct.
Find f of g and g of f if:
How do I solve for x? Is this what I should do? How should I present my answers? Please help!
f of g
g of f