I am doing discrete math, and we are studying Finite State Machines. But i am a little confuse on how to do this. Here is a question, Write a regular expression for the language, and define a finite state machine that recognizes word in the language(input alphabet, states, start state, state transition table, and accept states). Include a state digraph for the FSM.
L: For alphabet {a,b}, all strings that contain an odd number of a's and exactly one b.
If you could help me understand this more in depth, that would be amazing.