You asked

Which nikon dx body should I pair with the 40mm macro lens if I already have a d5600?

The guide's material doesn't name any other Nikon DX body that takes this lens, so it can't recommend one. You don't need another body anyway. The Nikon D5600 is an APS-C Nikon F camera, and the Nikon AF-S DX Micro 40mm f/2.8G is a cheap DX macro lens made for APS-C bodies, so the two work together.

The lens is a prime, so you frame by moving closer rather than zooming. On the D5600's crop factor of 1.5, 40mm frames roughly like 60mm on full frame. For how that converts to other formats, the focal length converter does the sums, and the sensor sizes page explains the crop factor. Keep in mind that macro work leaves you with less depth of field to spare, which the sensor sizes page covers.

Prices change, so check before you buy. On the day they were checked, the lens was listed new at 339 € on the Nikon France price section. For a body, a used D5600 was listed at 214–439 € on MPB, checked on the same day.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.