Formula for using alligation to prepare solutions