Alright, I figured out how to solve this in the formatting lol:
0 0
1 31
2 62
3 93
4 124
5 248
x * 31 = y. (NOT ANSWER)
I'm not exactly sure on what equation you need, so please substitute the answer I gave you into the equations you need to use / tell me what format the equation is like f(x) etc)