Final answer:
The width of William's garden is 2 meters, and he would need 28 meters length of rails to fence the garden with two rails.
Step-by-step explanation:
The subject of this question is Mathematics, and it can be classified under a Middle School grade. The question involves the concepts of geometry and simple algebra.
From the question, we know that a rectangle's perimeter is calculated as 2*(length+width). In this case, we know the perimeter is 14 meters and the length is 5 meters. So, the equation would look like this: 14 = 2*(5+width).
By simplifying this equation, we get: 14 = 10 + 2*width. Therefore, 2*width equals 4, and the width would be 2 meters.
Now, if William wants to put a fence with 2 rails around his garden, the total length of rails needed is twice the perimeter of the garden. That will be 2 * 14 = 28 meters.
Learn more about Rectangle Perimeter