One approximation is to make total engineering, project management, and testing proportional to the project duration.
An approximation is to make complete engineering, project management and testing proportion.