we know that
The hallway is painted using equal amounts of white and black paint
so
To know the amount of white paint------> calculate the area of white paint

To know the amount of black paint------> calculate the area of black paint

equate the areas

Find the length of the hallway

therefore
the answer part a) is
The hallway is
long
Part b) Can this same hallway be painted with the same pattern, but using twice as much black paint as white paint?
we know that
the amount of white paint is

if the black paint is twice that the white paint
then
amount of black paint is

amount of black paint with the same pattern is

equate
(24+24x)\ ft^{2}=(60x)\ ft^{2}
solve for the new value of x

Find the new length of the hallway

therefore
the answer is
Yes, the same hallway can be painted with the same pattern, using twice as much black paint as white paint, but the hallway decreases in length