Accrual to cash net income

Please help me understand this example. I am given a number for accrual based net income....lets say 100. and ask me to come up with cash based NI Then they say AP decreased by 15 and AR increased by 20 The answer would be to deduct both of them from the 100 I understand the AR as accrual based would recognize that 20 as revenue but no cash has been collected. The explanation for adding the AP is confusing. It states decrease in accounts payable means that total cash payments to vendors during the year exceeded the current period's accrual basis expenses. Under the cash basis, expenses are recorded when payment is made, so the $15 must be deducted to arrive at cash basis income This is a wordy accounting explanation that I feel like is simple but I can't grasp the concept. Please help!