You have two ropes, each of which takes one hour to burn completely.
Both of these ropes are nonhomogeneous in thickness, meaning that some parts of the ropes are chunkier than other parts of the rope and will burn at a different rate.
Using these ropes and a lighter, time 45 minutes.