Step-by-step explanation:
Let,
the cost price is = 100 rs
Given,
for selling price 115 rs, cost price = 100 rs
for selling price 1 rs, cost price = 100/115 rs
for selling price 345rs, cost price= 100/155*345 rs
= 300 rs
At the profit of 25%,
for cost price 100 rs, selling price = 125 rs
for cost price 1 rs, selling price = 125/100 rs
for cost price 300rs, selling price= 125/100*300 rs
= 375 rs