C = 2d – 2r solve for r