Answer:
4455555666666666677777777777777778888888888888899999999999999990000000000000000000000000999999998887654321
Step-by-step explanation:
Hope you could get an idea from here.
Doubt clarification - use comment section.
F(x)=x3 and g(7) = 982