You might be surprised to discover 1) that these two paintings were created by the same artist and 2) that they were inspired by the same thing. They were in fact both painted by Dutch artist Piet Mondrian within just five years of each other and were both inspired by the landscape in his native Holland.
If you're familiar with Mondrian's work, you probably recognize the aesthetic of the top canvas: horizontal and vertical lines and a limited palette including black, white, and primary colors. Also, in this case, Mondrian has rotated the square canvas by 45 degrees to create even more contrast between the lines in the painting and the diagonal lines of the canvas. But these spare, geometric compositions reflect more than just an interest in abstraction; they represent a reduction in natural forms to create a pure new visual language. And often, the natural forms that were the jumping-off point for Mondrian's work came from Holland's flat geography.
But as he and other artists were experimenting with relationships between abstract lines, shapes, and colors, Mondrian was also creating more representational work, including this painting from 1916 called Farm near Duivendrecht. This is one of 20 views of the same farm that he created over about 14 years. In part, this was to please his patrons, many of whom preferred a more naturalistic style. But it also gave him an opportunity to balance his new abstract interests with the more straightforward approaches to landscape that he had worked on early in his career.
Make sure to visit (and compare) both of these works on your next visit to the third floor of the museum's Modern Wing.