As per first graph,
The number of students for course A = Total number of students x 20%
As per second graph,
The number of girls for course A = Total number of girls x 30%
Number of boys in course 'A' = The number of students for course A - The number of girls for course A
Number of boys in course 'A' = (1200 x 20/100 ) - ( 800 x 30/100 ) = 240 - 240 = 0
Similarly,
Number of boys in course 'B' = (1200 x 15/100 ) - (800 x 10/100) = 180 - 80 = 100
Number of boys in course 'C' = (1200 x 5/100 ) - (800 x 2/100) = 60 - 16 = 44
Number of boys in course 'D' = (1200 x 35/100 ) - (800 x 30/100) = 420 - 240 = 180
Number of boys in course 'E' = (1200 x 12/100 ) - 800 x 14/100 ) = 144 - 112 = 32
Number of boys in course 'F' = (1200 x 13/100 ) - ( 800 x 14/100 ) = 156 - 112 = 44
Hence, number of boys in course 'C' and 'F' are same which is 44.