Dave's optometrist used medicine to dilate his eyes. Before dilation, his pupils had a diameter of 2.1 millimeters. After dilation, his pupils had a diameter of 6.3 millimeters. What was the scale factor of the dilation?​