Which Way Books was a series of "interactive novels" published under the Archway Paperbacks imprint between 1982 and 1986. I recall that this kind of book enjoyed some popularity in the early-to-mid 80s, especially the more popular and extensive Choose Your Own Adventure series. Two of the books in the series were based on Star Trek, including #15 Star Trek: Voyage To Adventure from June 1984.
This book features some fairly dreadful line art, only slightly better than something my own meager ability could produce. My copy is from the 3rd printing and was purchased on 31 January 1987.
By the way, the other Star Trek entry in this series was #24 Star Trek: Phaser Fight from December 1986. It proved to be the last entry in the Which Way series.