Hello from MrBillDoesMath!
Answer:
The side length is at most 7 inches.
Discussion:
A regular hexagon is a 6-sided polygon where the length of each side is the same. Let this length be L. Then the problem states that 6L < 42, so L < 7
Regards,
MrB