Answer
It doesn't make sense.
Work Step by Step
The statement doesn't make sense because we use different methods to solve the two equations.
For $\log(3x+1)=5$ we use exponential form to solve for logarithmic equation:
$3x+1=10^5$
$3x=99999$
$x=33333$
For $\log(3x+1)=\log5,$ we use one to one property of logarithms to solve since both sides of the equation is logarithmic equation with the same base:
$3x+1=5$
$3x=4$
$x=\frac{4}{3}$