Here is the NFA in formal notation:
Q = {q0, q1, q2}
Σ = {a, b}
q0 = q1 (the initial state)
F = {q0} (the single accepting state)
q0
The transition function δ is:
a
q1 → {q0, q2}
q2 → {q0}
b
This NFA accepts ε, a, baba, baa, and aa since there is a path from the initial state q1 to the accepting state q0 under those inputs. It does not accept b, bb, or babba since there is no path from