function dy = motif_10(t,y)
dy=zeros(3,1);
if y(3)>=0.5
    dy(1)=(1-y(3))/(1+1)-0.5*y(1)
else
    y(1)=1
end
if y(3)>=0.5
    if y(1)+y(3)>=1
        dy(2)=1/(1+1) -0.5*y(2)
    else
        dy(2)=(y(1)+y(3))/(1+y(1)+y(3)) - 0.5*y(2);
    end
else
    dy(2)=y(1)/(1+y(1))-0.5*y(2)
end

if y(2)>=0.5
    dy(3)=y(2)/(1+y(2)) - 0.5*y(3);
else
    y(3)=0
end
