solve this linear system

2/3m + 3/4n = 16
-1/2m + 3/8n = 18

clearing fractions, you have

8m + 9n = 192
-4m + 3n = 144

add twice the bottom equation to the top one to get

15n = 480
n = 32

Now getting m is easy.