Task: Question Answering
Input (English): Problem: the ratio of investments of two partners p and q is 7 : 5 and the ratio of their profits is 7 : 10 . if p invested the money for 2 months , find for how much time did q invest the money ? 
Options: a ) 8 , b ) 10 , c ) 18 , d ) 4 , e ) 12
Output (English): d