I'm using x for a and y for b
Look at the graph, here : https://www.desmos.com/calculator/5iayh796gi
The region formed by the first two inequalities is 24 units^2
The region formed by ab > 0 ⇒ xy > 0 is split into two rectangles
One is 3 x 2 = 6 units^2
And the other is 1 x 4 = 4 units^2
So....the probability that ab > 0 ⇒ xy > 0 is
[ 6 + 4 ] / 24 = 10 / 24 = 5 / 12
