Let’s work some examples:
Problem #4:
m      MV     d (pc)   P (arcsec)
7        7     10     0.1
11     1     1000     0.001
1       -2     40     0.025
4       2     25     0.040