Respuesta :

the first would could be 4/10 or 2/5

the second one would be 4/7

hope this helped
8 gray buttons out of 20 button: 4/10

40 boys out of 70 students: 7/10