We need: 13x - 9y = target
(x = number of +13 coins, y = number of -9 coins)
For +85:
13(10) - 9(5) = 130 - 45 = 85 → Yes possible
(a) 20: 13(5) - 9(5) = 65 - 45 = 20
(b) 40: 13(10) - 9(10) = 130 - 90 = 40
(c) -50: 13(1) - 9(7) = 13 - 63 = -50
(d) 8: 13(2) - 9(2) = 26 - 18 = 8
(e) 10: 13(7) - 9(9) = 91 - 81 = 10
(f) -2: 13(4) - 9(6) = 52 - 54 = -2
(g) 1: 13(7) - 9(10) = 91 - 90 = 1
(h) 1568: Yes, because gcd of 13 and 9 is 1, so any integer is possible.