If this is meant to be log to the base 5 of (x-2) is 3 then:
log5(x-2)=3 means x-2 = 53, so x = 53+2, or x=125+2, or x = 127.
If it is meant to be log to the base 10 of 5*(x-2) =3 then:
log10(5*(x-2)) = 3 means 5*(x-2) = 103, so x-2 = 200, so x = 202
If it is meant to be log to the base 10 of 5, all multiplied by (x-2) = 3 then:
(x-2)*log10(5)=3, so x-2 = 3/log10(5) so x = 3/log10(5)+2 or $${\mathtt{x}} = {\frac{{\mathtt{3}}}{{log}_{10}\left({\mathtt{5}}\right)}}{\mathtt{\,\small\textbf+\,}}{\mathtt{2}} \Rightarrow {\mathtt{x}} = {\mathtt{6.292\: \!029\: \!674\: \!220\: \!178\: \!6}}$$
If this is meant to be log to the base 5 of (x-2) is 3 then:
log5(x-2)=3 means x-2 = 53, so x = 53+2, or x=125+2, or x = 127.
If it is meant to be log to the base 10 of 5*(x-2) =3 then:
log10(5*(x-2)) = 3 means 5*(x-2) = 103, so x-2 = 200, so x = 202
If it is meant to be log to the base 10 of 5, all multiplied by (x-2) = 3 then:
(x-2)*log10(5)=3, so x-2 = 3/log10(5) so x = 3/log10(5)+2 or $${\mathtt{x}} = {\frac{{\mathtt{3}}}{{log}_{10}\left({\mathtt{5}}\right)}}{\mathtt{\,\small\textbf+\,}}{\mathtt{2}} \Rightarrow {\mathtt{x}} = {\mathtt{6.292\: \!029\: \!674\: \!220\: \!178\: \!6}}$$