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