Sophie is willing to sell her used economics textbook for $30. Ruby is willing to pay $60 for the used economics textbook. Sophie and Ruby agree on a price of $45. The gains from trade for Sophie equals ______ and the gains from trade for Ruby equals _______.