A class can include any number of modules. If there are two modules having the same method name then the last included module wins.
As we can see the result is “Mary Brett”.
Both the modules have the same method
In this case the module that was included at the very last wins.