3/8 = A
1/3 = B
So,
[tex]\frac{3}{8}+\frac{1}{3}=\frac{3(3)+1(8)}{8(3)}=\frac{9+8}{24}=\frac{17}{24}[/tex]17/24 got A or B.
So, the remaining "part" is WHOLE (1) minus 17/24, which is:
1 - 17/24 = 7/24
This "7/24" is equal to 14 sstudents, we need to find the total, which can be labeled as "x".
Thus we can write a ratio and solve:
if 7/24 is 14, then 1 is x
[tex]\begin{gathered} \frac{\frac{7}{24}}{14}=\frac{1}{x} \\ \frac{7}{24}x=14 \\ x=\frac{14}{\frac{7}{24}} \\ x=14\cdot\frac{24}{7} \\ x=2\cdot24 \\ x=48 \end{gathered}[/tex]
Hence, total number of students is 48