how to solve for variation - Search