Two ropes and time

You have two ropes whose only known property is that when  one end of either ropes is lit,
it takes exactly one hour to burn.
The burn rate  along the length of each rope is completely random and is different
for each rope.
How does one measure  45 minutes using the 2 ropes and a lighter ?

First <1234567>Last

Comments are Appreciated

Comments will be published only after the approval of the moderators