the ratio of investments of two partners p and q is 7 : 5 and the ratio of their profits is 7 : 12 . if p invested the money for 5 months , find for how much time did q invest the money ?
"7 * 5 : 5 * x = 7 : 12 x = 12 answer : e"
multiply(multiply(divide(7, 5), divide(12, 7)), 5)