This answer to a similar question may give you some inspiration. I didn’t get the point of the artists’ names being repeated in the second level but here’s how I’d do it anyway.
$replace(
%albumartist%/
%albumartist% - %album%/
$num(%discnumber%,2)$num(%tracknumber%,2) - %artist% - %title%
, ,_)