mins) and seconds (secs) from targetSeconds by dividing and taking the remainder with 60.cost that calculates the cost of setting the microwave to a given minutes and seconds.moveCost, and pushCost.cost function to calculate the cost for the exact minutes and seconds, and for one minute less with 60 additional seconds.