If $2\log_3(x-2y)=\log_3x+\log_3y$, find $\frac xy$.
My try:
$$2\log_3(x-2y)=\log_3x+\log_3y$$Combining the terms on the RHS and bringing them over to the LHS $$2\log_3(x-2y)-\log_3xy=0$$ Bring everything into a single $\log$ $$\log_3\frac{(x-2y)^2}{xy}=0$$ Converting this into a solvable quadratic $$x^2-5xy+4y^2=0$$ Factoring, I get $$(x-4)(x-y)=0$$ so $$x=y\;\text{or}\;x=4y$$ Therefore my final answer is $$\frac xy=1\;\text{or}\;\frac xy=4$$
Is my solution correct?