Denise is going to the county fair this weekend. The admission to the fair is $5 and the cost per ride is $0.50. If her parents gave her $20, write and solve a linear equation to find how many rides she can go on.