latex: add a portuguese explanation and description of the implemented solution to the problem