Both of these museums are located on the National Mall. The Hirshhorn Museum of Modern Art and Sculpture Garden is located between the Smithsonian Castle and the Air and Space Museum, and is easily recognized because of the cylindrical design of the building.
The National Gallery of Art is on the opposite side of the National Mall, just beyond the Smithsonian Natural History Museum.