When solving the problem 7^x+2 =7^3x-8 , your friend does the following

7(x)+2=7(3x)-8
7x+2=21x-8
10=14x
x=5/7

Was this correct?

a. Yes, this is correct. No error was made
b. Both sides should be divided by 7 instead of multiplied by 7
c. The 7 needs to be distributed across all terms when solving
d. When the bases are the same, then we can set the exponents equal to each other and solve that equation

b. Both sides should be divided by 7 instead of multiplied by 7