Combines two input numbers in some proportion.