Patty brought 1/2 of a cake to class,and Joe brought 3/4 of a cake on the same day.How much cake did the class have altogether?