The value of amount will the amount of LP token/lvlUSD that you want to unstake/withdraw. Note, to find this amount, you can visit either of the three above links and use the balanceOf function on the contracts with your wallet address.
After the unstake transaction is complete, wait two seconds and use the same two parameters above with the withdraw function