So I have to find the value of y by using substitution and my teacher gave me this problem?

x=y and x+2y=3