I'm not certain of the exact method for unlocking the pig in Moto Rush 2, but a good place to look is a dedicated cheat-code site such as CheatCodes.com. These sites often list unlocks and secrets for popular browser games, so you may find the specific steps there.