# -*- coding: utf-8 -*-
# math_fcn1.py

def f(x):
     return x + 1
def g(x):
    return x ** 2
x=5
print("f(x): ", f(x), "g(x): ", g(x), "f(g(x)): ", f(g(x)),
      "g(f(x)): ", g(f(x)))