$L=\left \{ w1\, a\, w2 \right \},\, \sum =\left \{ a,b \right \},\left | w1 \right |\geq 3,\left | w2 \right |\leq 5$
Assuming $w1,w2\epsilon \left \{ a,b \right \}$
Given DFA is correct .Following points may he;lp you
$\Rightarrow$Regular expression is $\left ( a+b \right )\left ( a+b \right )\left ( a+b \right )b^{*}a\left ( a+b \right )^{n},n\leq 5$
$\Rightarrow$ $a$ is your boundary,$\left | w2 \right |\leq 5$ which comprises $\left ( a+b \right )^{n},n \leq 5$
$\Rightarrow$ $a$ is your boundary,$\left | w1 \right |\geq 3$ which comprises $\left ( a+b \right )\left ( a+b \right )\left ( a+b \right )b^{*}$
Take any example-:
Let us take a least one $\left | w1 \right |=3,\left | w2 \right |=1,$
abbab $\Rightarrow$ accepted
abbbbbbb,here $\left | w1 \right |=7,\left | w2 \right |=1,$$\Rightarrow$ not accepted
Here only point to be noted this machine needs 'a' to be crossed.