For me being 100% honest:
grade 9-11 no homework, pay attention in class and study night before.
Grade 12: pay attention more in class, do some homework when concepts hard, study night before.
Uni: Read notes, do class homework, read textbook, study week before.
Ratio 5:4
Total shares = 5+4 = 9
then to find for 1 share = 54/9 = 6
So Sam share = 6 x 5 = 30
Bethan share = 6 x 4 = 24
Poof: 30+24 = 54