To find X, the answer would be 2
(a) without replacement:
P(S)=13/52=1/4
P(SS)=(1/4)*(12/51)=1/17
Probability of selecting two spades without replacement is 1/17.
(b) with replacement
P(S)=13/52=1/4
P(SS)=(1/4)(13/52)=1/16
Probability of selecting two spades with replacement is 1/16.
If the slopes of the 2 lines are equal then they are parallel.
If m1m2 = -1 (where m1 and m2 are the slopes of the 2 lines) then they are perpendicular.
If the 2 slopes do not match either the first or second conditions then they are neither parallel or perpendicular.