For n=2, the a(2) = 4 solutions visit one of the four vertices adjacent to the initial vertex, and then return.
For n=5, the a(5) = 8 solutions consist of counterclockwise or clockwise traversals of the circumference of any of the four pentagons that surround the initial vertex.
CROSSREFS
The accompanying sequences for the number of paths that return to a degree-3 node is A357811.
Similar sequences for square, hexagonal, and honeycomb lattices are A002894, A002898 and A002893.