Introduction to congruence and similarity through transformations