Description: Equality theorem for composition of two classes. (Contributed by Peter Mazsa, 23-Sep-2021)