Hi there,
There is no sample for these cmdlets but you can use the below thread to understand the situations and scope of these cmdlets.
New-MgUserTeamworkInstalledApp https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.teams/new-mguserteamworkinstalledapp?view=graph-powershell-beta
New-MgAppCatalogTeamApp https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.teams/new-mgappcatalogteamapp?view=graph-powershell-beta
Update-MgAppCatalogTeamApp https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.teams/update-mgappcatalogteamapp?view=graph-powershell-beta
--------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–