A square has the same width and height, so find the gcd of 90 and 126. Here are there factors: 90:1,2,3,5,9,10,15,18,30,45,90 126:2,3,6, 7,9,14,18,21,42,63,126 18 is the largest in both so the number of squares will be 90/18 * 126/18 = 5*7 = 35
It's up to you what you chose for A and or B because 0 slope of a line is for a flat horizontal line and an undefined slope is for a flat vertical line With this information you should chose D regardless but that's also up to you I would though and E is correct.