In a gambling game a man is paid $50 if he gets all heads or all tails when 3 coins are tossed, and he pays out $30 if either 1 or 2 heads show. What is his expected gain?

In a gambling game a man is paid \$50 if he gets all heads or all tails when 3 coins are tossed, and he pays out \$30 if either 1 or 2 heads show. What is his expected gain?