How do you write this as a function?
Like I know it's supposed to be f(x) something but the last time I had a problem like this was months ago so I kinda forgot haha.
