In a class of 60 students, the of students who passed maths is 6 more than the number of students who passed English every pupil passed at least one subject and 8 passed both subject

How many pupil passed maths and how many pupil passed English

english: x

maths: x+6
x + x+6 - 8 = 60