Solve for x ax+2d=5cx+3b