Write a function apply f x that returns the result of applying the function f to x.

Your work

Log in to submit your work and track progress.