Solve for x b/ax=d/c