function totalDis(time, speedOne, speedTwo){ var distanceOne = speedOne * time; var distanceTwo = speedTwo * time; var distanceTotal = distanceOne + distanceTwo; return distanceTotal; } totalDis(3, 4, 5);