Anagram generalisation

Sorry, no words can be formed