On a sunny morning, Leo rode his bicycle to a farm that sold baskets of eggplant for $5.22 each and baskets of nectarines for $9.77 each. Leo decided to buy a basket of eggplant and a basket of nectarines before heading home. How much did Leo need to pay for his produce