Concept:Functional equations define exponential and constant functions.Explanation:From f(x+y)=f(x)f(y) and f(1)=7, we deduce f(x)=7x.From g(x+y)=g(xy) put y=1: g(x+1)=g(x), so g is constant. Since g(1)=1, we get g(x)=1 for all x.The given sum is ∑x=1ng(x)f(x)=∑x=1n7x=19607.Sum of geometric series: 77−17n−1=19607.Multiply both sides by 6: 7(7n−1)=117642 → 7n−1=16806 → 7n=16807.Since 75=16807, we get n=5.Answer:n=5, which corresponds to option D.