Answer:
Chair is $1600
Table are 5 pieces
Explanation:
Let the cost of a chair be x then for a table, it will be 5x since table cost 5 times as much as a chair.
For $40000, chairs alone will be 40000/x while tables will be 40000/5x=8000/x
The difference between these numbers is 20 hence
40000/x-8000/x=20
32000/x=20
X=32000/20=1600
The cost of a chair is $1600
Table will be 5*1600=$8000
The number bought will be proved as follows
Chairs=40000/1600=25 pieces
Tables=40000/8000=5 pieces
Difference in number is 25-5=20