I am trying to understand the answer here for FA that accepts only the words baa, ab, abb and no other strings longer or shorter. I understand where they got baa and ab but how did they get it to have abb ?

If anyone has another way to do this I would appreciate it... This is confusing to me with having a q7 state here.
Just follow the arrows. "a" takes you to q1, then "b" takes you to q2, and another "b" takes you to q3, which is an accepting state.
The q7 represents a failure state. Once the automaton enters that, it can't leave, so it will never accept that input string.