Dm7 = DFAC
Em7 = EGBD
assuming 1 chord per bar the following might work:
F-E-F-E-F-E-F-E-F-E-F-E
D-D-D-D-D-D-D-D-D-D-D-D
C-B-C-B-C-B-C-B-C-B-C-B
A-G-A-G-A-G-A-G-A-G-A-G
alternatives that present themselves
F-E-D-E-F-E-D-E-F-E-D-E
D-D-C-D-D-D-C-D-D-D-C-D
C-B-A-B-C-B-A-B-C-B-A-B
A-G-F-G-A-G-F-G-A-G-F-G
or
F-E-D-D-C-B-A-B-C-D-D-E
D-D-C-B-A-G-F-G-A-B-C-D
C-B-A-G-F-E-D-E-F-G-A-B
A-G-F-E-D-D-C-D-D-E-F-G
work out some others as well for yourself.