Answer:
The time taken by both boys to complete work = 2.73 hours
Step-by-step explanation:
Time taken by rayan to dig hole [tex]T_{1}[/tex] = 5 hours
Time taken by castel to dig hole [tex]T_{2}[/tex] = 6 hours
Now the time taken by both persons working together
[tex]T = \frac{T_{1} T_{2} }{T_{1} + T_{2}}[/tex]
Put all the values in above formula we get
[tex]T = \frac{ 30 }{6 + 5}[/tex]
[tex]T = \frac{30}{11}[/tex]
T = 2.73 hours
Therefore the time taken by both boys to complete work = 2.73 hours