Okay, here are the steps to solve this problem:
* Kariro had y cows
* Ali had 3 times as much as Kariro, so Ali had 3y cows
* Nabwiso had half as much as Kariro, so Nabwiso had y/2 cows
* In total, they had:
** Kariro: y cows
** Ali: 3y cows
** Nabwiso: y/2 cows
* So in total: y + 3y + y/2 = 180
* 4.5y = 180
* y = 40
* So:
** Kariro had 40 cows
** Ali had 3 * 40 = 120 cows
** Nabwiso had 40/2 = 20 cows
Therefore, if the total cows was 180, then Nabwiso had 20 cows.
Let me know if you have any other questions!