单项选择题

For senior class pictures, a photographer charges x dollars to make a negative,
dollars for each of the first 20 prints, and
dollars for each print in excess of 20 prints. If $80 is the total charge to make a negative and 30 prints, what is the value of x

(A) 3
(B) 4
(C) 5
(D) 6
(E) 7