Notice where the lines cross the x-axis.

crosses at and crosses at .

Since the lines form a triangle with the x-axis, you can find the lenght of the side opposite of using the x-intercepts.

So just find the point where the lines intersect by solving . Once you find the point, you should be able to find the lenghts of the sides.