a figure that has 2 line graphs with a caption Figure 11.2; above and below the figure is text related to the figure

A example of a figure from a textbook (source Introductory Statistics by Barbara Illowsky and Susan Dean)
(by the way, this example is displayed using the <figure> and <figcaption> elements: right-click/Inspect the image to see)