Mercury Mariner(2009)

I drive a Mercury Mariner, it has 26000 mileages. When I drive on the highway, a wrench light and check engine light come on.. The wrench light goes off immediately. The engine light stay on about week. Neither light come on while driving around town..Only come on when I travel out of town. I want know if this a transmission problem..and how serious is it??