Please I need help

A Mansueto first year
student has 7 total classes excluding advisory. If a student decides to not
do homework every class, he/she will lose 70 points in total that day. If Student A has lost 40
points and Student B has lost 20 points, how many classes did Students A and B earn a La Salle
for?