a committee is reviewing a total of 40 x black - and - white films and 4 y color films for a festival . if the committee selects y / x % of the black - and - white films and all of the color films , what fraction of the selected films are in color ?
"say x = y = 10 . in this case we would have : 40 x = 200 black - and - white films ; 4 y = 40 color films . y / x % = 10 / 10 % = 1 % of the black - and - white films , so 4 black - and - white films and all 40 color films , thus total of 44 films were selected . color films thus compose 40 / 44 = 10 / 11 of the selected films . answer : d"
divide(4, add(divide(40, const_100), 4))