because he ’ s taxed by his home planet , mork pays a tax rate of 10 % on his income , while mindy pays a rate of 20 % on hers . if mindy earned 3 times as much as mork did , what was their combined tax rate ?
"say morks income is - 100 so tax paid will be 10 say mindys income is 3 * 100 = 300 so tax paid is 20 % * 300 = 60 total tax paid = 10 + 60 = 70 . combined tax % will be 70 / 100 + 300 = 15.5 %"
multiply(const_100, divide(add(divide(10, const_100), multiply(3, divide(20, const_100))), add(const_1, 3)))