HELP QUICK PLS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The length of a rectangle is 6 times longer than the width. The perimeter is 42 meters. What is the width?

How would I write an equation for this? I know the answer is 3 pls help