Let a = x-int
and b = y int
a+b= 5 and a=2b
So we want two numbers that sum to 10 and 1 is twice the other.
b=5/3 and a =10/3
This gives you two points
x-int at (10/3,0) and y-int at (0,5/3)
Now use the method of your choice to find the equation of the line containing those two points.