You run and walk on a trail that is 6 miles long. You run 6 miles per hour and walk 2 miles per hour. Let y be the number of hours you walk and let x be the number of hours you run