it is the new year and mandy has made a resolution to lose weight this year . she plans to exercise and do yoga . for exercise she plans to workout at the gym and ride her bicycle in the ratio of 2 : 3 everyday . she will also do yoga in the ratio , yoga : exercise = 2 : 3 . if she rides her bike for 16 minutes , how much time will she spend doing yoga ? ( rounded to minutes )
"the ratio is 2 : 3 = gym : ride , so ( 16 ) ( 3 / 2 ) = 24 minutes at the gym , and 24 + 16 = 40 minutes exercise , so ( 2 / 3 ) ( 40 ) = 27 minutes yoga . answer : c"
divide(multiply(16, divide(3, add(2, 3))), multiply(divide(3, add(2, 3)), divide(3, add(2, 3))))