Xavier can put in 3 fence posts each hour. Every so often, though, an orc comes and digs up one of the fence posts. At the end of the day, there are 5 fence posts standing. Write an equation to model the situation, with x as the number of hours Xavier worked and y as the number of posts the orc dug up.