You could also do it this way: Label the two ropes A and B. Leave A as a normal length of rope. Fold B in half. Burn rope A at both ends to that it is consumed in 30 minutes. As soon as this half hour is done, Burn rope B, which is folded in half, at both ends, so that it is consumed in 15 minutes. Total elapsed time, 45 minutes.