Let's assume that the cost price for both products A and B is "C", and the selling price for both products A and B is "S". We can use this information to set up two equations, one for Tom and one for John, that relate the costs and profits for the two products:
Tom: 5C - 2(5S) = P1
John: 3(5C) - 13C = P2
where P1 and P2 are the profits made by Tom and John, respectively.
We know that at the end of the business day, John banks Ksh 110,000/- while Tom banks Ksh
230,000. So we can write:
P1 = 230,000 - 5C
P2 = 110,000 - 18C
Substituting these values into the equations for Tom and John, we get:
5C - 2(5S) = 230.000 - 5C
Simplifying these equations, we get:
10C - 10S = 230,000
2C = 110,000
Solving for C, we get:
C = 55,000
Substituting this value back into the first equation, we can solve for S:
10(55,000) - 10S = 230,000
Simplifying this equation, we get:
S = 32,000
Therefore, the price for product A is Ksh 55,000 and the price for product B is Ksh 32,000.