The between-the-legs twice dunk can be executed by performing a two-foot gather then holding the left modifier and pressing the tomahawk trick button.
540 dunks are executed by executing a one-foot 180 gather, during which you must quickly perform two full rotations of the left analog stick before pressing the windmill trick button.