Here are some commands that you can combine to find the solution:
-`expr`: this command evaluates an expression and outputs the result.
-`command substitution - $(...)`: this command can be used to interpolate the output of running a command into a string. You can replace the ellipsis with your command.