there are 2 sections a and b in a class , consisting of 40 and 30 students respectively . if the average weight of section a is 50 kg and that of section b is 60 kg , find the average of the whole class ?