A farmers buys n sheep at #a each .When taking the sheep to the market ,8 of them lost. if the farmer sells the remaining of them at #b each and makes no profit overall,what is the relation between a,b and n?

2 answers

cost: a*n
revenue: b(n-8)
since profit=0, cost=revenue: an = b(n-8)