The first example is an example of a compare-and-contrast text structure:
"Both cats and dogs have four paws. Cats are different because they meow, while dogs bark. Dogs have more energy than cats do which makes them more fun to spend time with."
This text clearly compares and contrasts the characteristics of cats and dogs. It mentions similarities (four paws) and highlights differences (meowing vs. barking, energy levels).