Joseph bought two varieties of rice, costing $5$ cents per ounce and $6$ cents per ounce each, and mixed them in some ratio. Then he sold the mixture at $7$ cents per ounce, making a profit of 20 percent. What was the ratio of the mixture?
my approaches is following,first of all if we have income and cost,profit percent is
$(income-cost)*100/(cost)$
let us denoted rice with $5$ cent per ounce by $x$ and second by $y$,total cost is $5*x+6*y$
income is $7*(x+y)$,profit we have $2*x+y$,so percentage we have
$(2*x+y)/(5*x+6*y)=0.2$
after calculation we have $x/y=0.2=1/5$
is my approaches correct?