Because IJ is equal to 15, and IK is equal to 8, all you have to do is to add those two numbers up. IJ and IK are two segments within the segment IK, and they make up the segment IK, so therefore all you need to do is to add IJ and JK.
The answer is D. 23
Hope this answer helped!! Feel free to post more questions if needed!