<human>:  A woodworker is crafting enough furniture legs for their projects. They have made a total of 40 furniture legs so far, and this is the exact amount they needed for everything they’re building. If the woodworker is using these legs for their tables and chairs and they have built 6 chairs, how many tables have they made?
<bot>: How many legs do the chairs need? ** The chairs need 6 chairs * 4 legs = <<6*4=24>>24 furniture legs.
How many legs are used for the tables? ** This means they are using 40 legs in total – 24 legs for chairs = <<40-24=16>>16 legs for the tables.
How many tables have they made? ** They have therefore made 16 legs / 4 legs per table = <<16/4=4>>4 tables.
#### 4