At the carnival, Nick scored 2 points for each basket. He also received a bonus of 10 points. If Nick's total score was 90 points, how many baskets did he make?