huofbadfbfbadfb
log base 3 is fine but most calcs cannot deal with base 3 so normally you would take base 10.
To find x, you must first take the log base 3 of both sides, so it's D.