In the first article we discussed how Type Classes are encoded in Scala. In the second article we are going…