b alone can do piece of work in 10 days . a alone can do it in 15 days . if the total wages for the work is rs 5000 , how much should b be paid if they work together for the entire duration of the work ?