b) Let the amount owed be . Suppose A pays the friend . Now, if A wins the friend gives A , if A loses A gives the friend another .
Calculate the expected winnings of A for the game: .
If E(W) > 0 it's a good deal. If E(W) = 0 it doesn't matter whether A plays or not. If E(W) < 0 it's a bad deal.