This paper investigates non-vacuum perfect fluid solutions of five-dimensional Bianchi type-I space-time using the metric version of f(r) theory of gravity. The authors derive two exact solutions corresponding to two models of the universe, detailing the energy density and pressure while discussing the physical properties of these models. The work extends previous studies in four dimensions to higher dimensions, contributing to the understanding of gravitational theories.