Solve for x ax+3x=bx+5