You have two ropes. Each rope takes one hour to burn completely. Both ropes have varying thicknesses, meaning that different parts of each rope burn at different speeds. How can you accurately time forty-five minutes with just two ropes and a lighter?