For a rope, 20% of the total length is used for the first time, and half of the total length is used for the second time, with 4.5m left. How long is the rope?

For a rope, 20% of the total length is used for the first time, and half of the total length is used for the second time, with 4.5m left. How long is the rope?

Method 1: (a series of equations)
Suppose the length of the rope is x meters
x-20%x-(1/2)x=4.5
0.3x=4.5
x=15
Method 2: (algebra method: regard the whole as "1")
4.5÷(1-20%-1/2)
=4.5÷0.3
=15 (m)
A: the rope used to be 15 meters long