David was thirty years old when he began to reign, and he reigned forty years.
David was thirty years old when he began his forty-year reign.
David was 30 years old when he became king, and he ruled for forty years.
David was a son of thirty years, when he had begun to reign, and he reigned for forty years.