There isn't enough information to answer this question, unless you know how far apart the cities are. If you did have the info, you would multiply the distance of NYC to Rochester(twice, because of the return flight, so basically multiply the distance by two) by 3 to get the distance there. Then do the exact same for NYC to Salt Lake City, with the correct distances of course. Hope this helped!