Two ropes are coated in oil and can be burnt. Each rope takes exactly one hour to fully burn, but…