uuuuhhhhhh....could i get a tie breaker vote?

also, new issue for me.
i went to the hardware store to get everything for this filter.
i was going to use a 4" inline fan for it.
i shortly realized that inline fans are just rough wired, no plugs or anything.

is there anyway i could still use? i dont know how to wire it!!

help please!