Original: Of her brothers, James became an admiral and sailed with Captain James Cook on his second and third voyages.
Simplified: James Burney became an admiral. He sailed with Captain James Cook on his second and third trips.