Dryer vent size

See pictures. Dryer vent goes from a standard 4" to something bigger and then back down to 4 inch to exit. Looks like a problem to me, but I’m not sure. Any help with write up language would be much appreciated…

Dryer vents should stay 4" so that they maintain the proper static pressure.