AMC10 2017 10B, Problem 4

Supposed that $x$ and $y$ are nonzero real numbers such that $\frac{3x+y}{x-3y}=-2$. What is the value of $\frac{x+3y}{3x-y}$?

Solution: Substituting each $x$ and $y$ with $1$, we see that the given equation holds true, as $\frac{3(1)+1}{1-3(1)} = -2$. Thus, $\frac{x+3y}{3x-y}=\fbox{2}$

Answer: 2