Yes, that's uncool and sexist. But it's a joke and I have to admit that the demonstration seems mathematically correct and uses only widely acknowledged hypotheses like "Time is money" and "Money is the root of all problems":

1) To find a woman you need time and money, therefore:

woman = time * money

2) Time is money, so:

time = money

3) Therefore:

woman = money * money = money^2

4) Money is the root of all problems, so:

money = sqrt(problems)

5) Therefore:

woman = sqtr(problems)^2 = problems