How could I calculate this?

Options
If the databases says I burn 120ish calories walking the dog for 30 minutes, and I know that if I walk at a 4.0 mph speed uphill for an hour I burn about 650 calories, then how would I calculate walking uphill for 30 minutes with the dog?