| He sells 7 cows at $x apiece.
He sells 6 cows at $x-4 apiece.
7x = (a)(b) (the digit a followed by the digit b)
6x-24 = (b)(a) Subtracting...
x + 24 = (a)(b) - (b)(a), which is divisible by 9.
x is in the set { 3, 12, 21, ...), since x + 3 = 27 = 3*9
x + 12 = 36 = 4*9, etc.
If x=3, then he paid the recipient of the 6 cows $1 apiece to take
them, so I'll throw it out.
If x=12, then he got 7*12 = $84 for the first lot, and
6*8 = $48 for the second lot.
If x=21, then he got 7*21 = $147, which is not a 2-digit number,
so we stop.
Jeff
|