The Journey house-job: a mathematical model for the evaluation of the cost-time