Kim, Beth, and Jenny gave money to buy their mother a birthday gift.
The gift cost $40. Kim gave 35% of the money for the gift. Beth gave 3/8 of the money for the gift. How much money did Jenny give to buy the gift?