This entire expression gives the total number of apples required to make 2 pies and 4 cakes.
x is the number of apples for a cake. 3x would be the number of apples it takes to make a pie. 2(3x) would be the apples for 2 pies and 4(x) would be the number of apples for 4 cakes.
|Ω| = 6 - number of all results
A = {1, 3} → |A| = 2 - number of (a) results
P(A) = 2/6 = 1/3
slope = (y2-y1)/(x2-x1)
the first slope is 0 (horizontal line)
second slope is undefined (vertical line)