Number of students in total 259
6X number of students that passed
X number of students that failed
Then
X + 6X = 259
7X = 259
X = 259/7 = 37
So then this means
Students succesful 6• 37 = 222
Students failed 37
Total students 222+ 37 = 259 (comprobation)