Let cost price (CP) of the article be X rupees.
For 4% profit, SP=CP+4% of CP = 1.04X
For 6% profit, SP=CP+6% of CP = 1.06X
It is given that cash differences between selling price is Rs 3
1.06X−1.04X=3
0.02X=3
X=150
so,
Selling price of first article = 1.04X
Selling price of first article = 1.04×150
Selling price of first article = 156 Rupees
and,
Selling price of second article = 1.06X
Selling price of second article = 1.06×150
Selling price of second article = 159 Rupees
Ratio of selling prices = 156/159
Ratio of selling prices = 52:53