Philly to Salt Lake City is 2,147 miles.
Salt Lake City to Portland is 2,868 miles.
Now I'm not sure if the answer you're looking for is in addition because you've left out the distance from Portland to Philadelphia, but all you have to do is add 2,147 and 2,868.
2,147 + 2,868 = 5,015