Defining the variables:

since the length is 4 times as long as the width

Now, we use the formula for perimeter of a rectangle:

And we substitute the value of perimeter 50cm and the values defined for length and width:

We solve this equation for x:

we divide both sides by 10:

We have the values of x.
Since we are asked for the length and width:

Answer:
width: 5cm
length: 20cm