does anyone know an equation for this table:

Answer:
Don't know the exact equation but trying to explain
X is what the stuff that problem saying. Let's say you have books from library and you're returning them late you will pay $30 dollars for each of them