How is Potential energy made from a mouse trap car?

When you pull back the spring.
Mouse trap in its non-set state has zero potential energy. When you pull back the spring to set the trap you are storing the energy it took you to set the trap into the spring.