Solve the system of equations
ax+y=2a
x+ay=1+a^2

Answer:
x = 1; y = a
Step-by-step explanation:
ax+y=2a
x+ay=1+a^2
-a²x-ay=-2a²
x+ay=1+a^2
(1 - a²)x = 1 - a²
x = (1 - a²)/(1 - a²)
x = 1
a + y = 2a
1 + ay = 1 + a²
a = y
x = 1; y = a