calculate baby position after filling in details.