A restaurant served 6 cakes at dinner today but 5 were returned. The restaurant served 3 cakes successfully yesterday. How many cakes were sold successfully total?