Pedro walks at a rate of 4 miles per hour and runs at a rate of 8 miles per hour. Each week, his exercise program requires him to cover a total distance of 20 miles with some combination of walking and/or running.
Write an equation that represents the different amounts of time Pedro can walk, x, and run, y, each week.