The most common way to do arithmetic calculations in Prolog is to use
the built-in predicate is/2.
-Term is +ExprTerm is the value of arithmetic expression Expr.
Expr must not contain any uninstantiated variables. Do Not
confuse is/2 with =/2.