Transition sets of bifurcations of dynamical systems with two state variables with constraints