The Milan one, could you perhaps post a screen of their squad ( from wiki, a football site etc)
As for the Napoli one, they have basiclly played a 361, using 3Dc, a flat 4, 3 AMC and one Target man on attack. Thisapproach is not easy to replicate in FM as the MR/L dont track back as they should when using a counter strategy and the Dcs are too centered. This means that whilst you COULD replicate it somehow, the resusults would not be good at all.
MY best suggestion here would be to use a more ridig phil, using a standard strategie.
Cavani: Target Man - Attack
AMC´s: Just the plain AMC role, their ppms will do the rest
MC´s, one ballwinner one defend and one deep playmaker, all depeing on who is playing
Wingers: Here I would like to give advice on roles but in this position, there are no who looks like how they are playing. I would probably use the settings of wingacks on support in MR/L or Defensive wingers on support.
But as written, It wont work great as its a formation that the ME cant handl