Let's go much simpler, right back to logs basics.
If y=log(x) (with 10 as the base of the logarithms) then what does x equal in terms of y?
If y=log(x) (with 10 as the base of the logarithms) then what does x equal in terms of y?
This is not the medium for teaching you about the basic, basic, basic rules of elementary algebra. There are loads of tutorials on the web - try using Google to search for tutorials on logarithms.
When you tell me what you've searched for, and what the first rules are that they give you, then I'll start helping again.