Calculating differences in row values in correspondence with separate row values from another column

Questions in the abstract are much less likely to attract answers than questions with a reprex.