12*7+(X-12)*5+148=30*8+(X-30)*7+20