adding roots and powers exercise