Recall how to write an equation of a line in standard form given 2 points

**********

no fractionsno decimalsx is positive

1) (1/2,-2); (1/2,5)

2) (3,-6); (10,-6)

i planned to use m=y2-y1/x2-x1, then y=mx+b, and then put it into Ax+By=C. but after using m=y2-y1/x2-x1, i kept getting a fraction: 7/0 for #1 and 0/7 for #2. i can't remember which one is indefinite, but i'm stuck on the first step because the teacher said no fractions... thanks in advance