How to build a slider with text and image change at same time interval

Here’s a rough sketch, the left side is the image and the right side is 3 rows of text
So for ex: on every 3 sec one row gets highlighted, and it’s corresponding image shows up
I am thinking of using the slider for the image, but how to move forward with the text part?