Evaluate your equation, looking for the variables x and y. For this example, the equation will be 2x+5y=10. Notice that the equation contains an x and a y.
Set x to zero and solve for y. So for this equation, 2(0)+5y=10. Divide out the 5 and y=2. This is where the line passes through the y axis.
Set y to zero and solve for x. For this equation, 2x+5(0)=10. Divide out the 2 and x=5. This is where the line passes through the x axis.
Place dots on your intercepts and connect the line.