I have a Raspberry Pi 3 and a display that has only RCA as inputs. Please help me connecting the Raspberry Pi to the display so that I get both sound and visual.
a display that has only RCA as output
I presume you mean 3 female inputs, 2 for audio and one for composite video, which in North America are generally red, white, and yellow.
The 3.5mm jack on the Pi 3 can be connected to this as it includes a composite video line. Jacks like that can be used with a normal 2 channel audio only cable, or a 3 channel one such as that shown below (the two ends are from the same cable).
Notice the three bands on the 3.5mm jack, one more than a standard stereo plug (these are actually separators as I believe in both cases there is an additional pole for ground, which is the sheath on the RCA end). These are commonly available at electronic stores or online (search for a "3.5mm to RCA video cable").
Beware as mentioned here (thanks Milliways) some of these cables are intended for camcorders and have one of the rings on the 3.5mm jack swapped; those will not work. So don't get a cable that is intended for use with camcorders!
To be sure, you can get a cable from Adafruit to ensure that the cable is for RCA display product (versus RCA output product).
Try above blog post.you might need to re-wire or can built your own. Get female av pins and wind up them to 3.5mm jack..full at blogspot