The answer 12/72 because you multiply
The distance formula is: d = sqrt( (x2 - x1)2 + (y2 - y1)2 )
For this problem, let (-5, -4) be the "first" point, so x1 = -5 and y2 = -4
and let (-6, 4) be the "second" point, so x2 = -6 and y2 = 4.
Then: d = sqrt( (-6 - -5)2 + (4 - -4)2 ) = sqrt( (-1)2 + (8)2 ) = sqrt( 1 + 64 ) = sqrt( 65)
The distance formula is just the Pythagorean Theorem applied to an x-y graph.
You would get the same final answer if you let (-5, -4) be the second point and (-6, 4) be the first point.
Raw material for 500 units per week = 500 x $10 = $5000
Cost of hiring 20 workers per week = 20 x 40 x 25 = $12000
Rental = $2250
Total = 5000 + 12000 + 2250 = $19 250