Marie biked for 31 miles at a speed of 12 miles an hour. How long did she bike for?