John is two times older than Mike. But in the same time Mike is just 6 years younger then John. What is John's and Mike's age?
Here [tex]x[/tex] represents John's age and [tex]y[/tex] represents Mike's.
[tex] \left \{ {{x=2y} \atop {x-6=y}} \right. [/tex]