You can put this solution on YOUR website! Call the numbers of $2 and $5 coins, x and y. Then we write
x + y = 43 and the value equation is
2x + 5y = 167
Multiply the top one by two and subtract...we get
2x + 5y = 167
-(2x + 2y = 86)
-----------------
3y = 81
y = 27 $5 coins and thus there are
x = 16 $2 coins