In an exam, the minimum qualifying marks for classes A and B are 20% and 30% respectively. If the total marks of each class are the same and a student of class B scored 1050; thereby failing by 90 marks, find the passing marks for class A.
1
760
2
870
3
770
4
1050