Parse "d+5" and "5+d"