Final answer:
The ratio of the width to the length of the garden is 5 1/4.
Step-by-step explanation:
To write the ratio of the width to the length as a fraction in simplest form, we need to convert both the width and length into the same units. Since the width is given in yards and the length is also given in yards, we don't need to convert them.
The width is 5 yards and 12 inches, which is equivalent to 5 yards and 1 foot (12 inches = 1 foot). So the width is 5 yards and 1 foot.
The length is 4 yards, which is also equivalent to 4 yards and 0 feet.
Therefore, the ratio of the width to the length is 5 yards and 1 foot : 4 yards and 0 feet. Simplifying this fraction, we get 5 1/4.