It's not math. It's Dollgebra.
Available with ShowMe Premium subscription.
You must be logged into ShowMe