need to subtract values from two multidimensional arrays using foreach as seen in this example:
https://stackoverflow.com/a/54017881/2907897
however, the outpu