How to construct a NFA that the third symbol and the third from last symbol are same?
Hint:

Here is a NFA that accepts exactly those strings whose first and last character are both $a$:



Can you modify and extend this to become a solution to your problem?