Details of prices of two items $P$ and $Q$ are presented in the above table. The ratio of cost of item $P$ to cost of item $Q$ is $3:4$. Discount is calculated as the difference between the marked price and the selling price. The profit percentage is calculated as the ratio of the difference between selling price and cost, to the cost