That is some shaky writing. "To work trying to get success" sounds like something a non-native speaker would say. Anyway, "having decided to do it" has a tacit subject, "you".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.