3. There were 6 cakes at a picnic. Of them, ½ had chocolate frosting, 1/3 had vanilla frosting, and the rest had strawberry frosting. If 2/3 of the cakes with chocolate frosting were eaten, and 4 of the cakes with vanilla frosting were eaten, how many cakes were left?​

Answer :