For the solutions first we make graph for the equations.
For x+y = 3,
x + y = 3 passes through (3,0) and (0,3)
For 2x+5y = 12,
2x + 5y = 12 passes through (6, 0) and (0, 2.4)
Now we plot the points and join them to make graph.
Wherever, they intersect that is common solution to both equations.
They meet at point x = 1 and y = 2.
So (1,2) is solution.