Hi there. I'm sure this is a basic question, but i am appreciative of your help.

I have two plug-in undercabinet lights (GE brand LED). I already have wires coming out of the wall exactly where i'd want the lights to go. I'd rather connect the lights that way than using outlets to plug them in. i cut the plug off one of them, split apart the wires & stripped them. But there are only two wires on my light, and three wires coming out of the wall. What do i do next?

thanks so much!