y = c + b·loga(x)
First, plug in (1,1) for the x and y values:
y = c + b·loga(x)
1 = c + b·loga(1)
Since loga(1) = 0 for any base, we get 1 = c. Now plug in the second point, (5,7):
y = c + b·loga(x)
7 = 1 + b·loga(5)
6 = b·loga(5)
Choose a = 5, since log5(5) = 1:
6 = b·log5(5)
6 = b·1
6 = b
So we have a = 5, b = 6, c = 1. The final equation is:
y = 1 + 6·log5(x)