To investigate the influence of geometric frustration on the properties of low-energy configurations of systems of ferromagnetic nanoislands located on the edges of the Cairo lattice, the model of interacting Ising-like magnetic dipoles is used. By the method of complete enumeration, the densities of states of the Cairo pentagonal lattices of a finite number of Ising-like point dipoles are calculated. The calculated ground and low-energy states for systems with a small number of dipoles can be used to solve the problem of searching for the ground states in a system with a relatively large number of dipoles. It is shown that the ground-state energy of the Cairo pentagonal lattices exhibits nonmonotonic behavior on one of the lattice parameters. The lattice parameters can be used to control the degree of geometric frustration. For the studied lattices of a finite number of Ising dipoles on the Cairo lattice in the ground-state configurations, a number of closed pentagons is observed, which are different from the obtained maximum closed pentagons. The magnetic order in the ground-state configurations obeys the ice rule and the quasi-ice rules.