Farming helps get the cards you want from each legendary duelist as well as keys, gold, and sometimes gems. As for how, you just have to have a deck built around farming them so you always get a good assessment score at the end which bases how many rewards you get