Factor r^3-8