Exact solutions are obtained in (4+1) dimensions for plane symmetric a
nd cylindrically symmetric inhomogeneous spacetimes. In the former cas
e the three space depends on time only while the metric corresponding
to the extra dimension is dependent on space as well as time coordinat
es. The cylindrically symmetric nonstatic solutions for the perfect fl
uid have no singularity near the axis, but show big bang type of singu
larity in the finite past. One of the classes of such solutions satisf
ies the barotropic equation of state of the form rho = epsilon p. Stat
ic solutions with cylindrically symmetric solutions are also obtained
in 5 dimensions.