Correct option is B
Given:
Ram can complete the work in 12 days.
Shyam can complete the work in 18 days.
Total payment for the work = ₹15,000
Formula Used:
Ratio of shares = Ratio of efficiencies
Solution:
Calculate individual efficiencies:
Ram's efficiency =
Shyam's efficiency =
Calculate the ratio of their efficiencies:
Ratio of Ram's efficiency to Shyam's efficiency = : = 3 : 2
Divide the total payment based on their efficiency ratio:
Ram's share = ₹15,000 = ₹15,000 = ₹9,000
Shyam's share = ₹15,000 = ₹15,000 = ₹6,000
Therefore, Ram received ₹9,000 and Shyam received ₹6,000.
Option (b) is right answer.
Alternate Method:

Formula Used:
T (A+B+C)=
Solution:
Ratio of Ram's efficiency to Shyam's efficiency =3 : 2
Ram's share= ₹15,000 = ₹9,000
Shyam's share= ₹15,000 = ₹6,000
Option (b) is right answer.