[ATTACH=full]1284[/ATTACH]
use slope point formula to find equations y-y1=m(x-x1) find a slope for each side using the coordinates of given endpoints, then plug in slope and one point to find equation