If the length of a rectangular yard is represented by w+4 and the width by 2w+5, write a simplified expression in terms of w that represents the total length of fence needed to go around the yard. Show your work step by step.