Given that
Apply log on both sides
(x - 3)log(5) = 4log(5)
Cancel log5 on both sides
(x - 3) = 4
x = 4 + 3
x = 7