Answer :

[tex]\left\{\begin{array}{ccc}3x+5y=10\\y=x+2\end{array}\right\\\\\\subtitute\ y=x+2\ to\ the\ first\ equation:\\\\3x+5(x+2)=10\\3x+5x+10=10\\8x+10=10\ \ \ \ |subtract\ 10\ from\ both\ sides\\8x=0\ \ \ \ \ |divide\ both\ sides\ by\ 8\\\boxed{x=0}\\\\subtitute\ th\e value\ of\ x=0\ to\ the\ second\ equation:\\\\y=0+2\\\boxed{y=2}\\\\Answer:\boxed{\boxed{x=0\ and\ y=2}}[/tex]
[tex]3x+5y=10\\ y=x+2\\\\ 3x+5(x+2)=10\\ 3x+5x+10=10\\ 8x=0\\ x=0\\\\ y=0+2\\ y=2\\\\ \boxed{x=0, y=2}[/tex]