Answer
See sample answer below.
Work Step by Step
The two equations should repressent one and the same line.
Take the line $y=x$ and rewrite its equation as
$x-y=0$
For the second equation, multiply the above equation by 2.
$2x-2y=0$
This equation represents the same line.
Thus, the system $\left\{\begin{array}{l}
x-y=0\\
2x-2y=0
\end{array}\right.$
has infinitely many solutions. It is a dependent system
(a consistent system with dependent lines)