functions and relations practice