3(x+y)=7(y-x) 5(3x-y)=x-3

double equal sign?

if you have A=B=C
then
A=B
A=C
B=C

is your question something like that?