Sir William Cuninghame, 9th of Caprington, 2nd Bt. — (1664-1740)