The number of bricks laid varies directly with the amount of time spent. If 40 bricks are laid in an hour and 15 minutes, how much time would it take to lay 500 bricks?