Diagrams of the body layers and cavities in A, coelenterates; B, flatworms; C, annelids; D, vertebrates.…