Your question did suggest that but its just a simple mathematical expression that needs to be written.