Variable expressions as inputs of functions - Problem type 3