Medlodyjohnson12id Medlodyjohnson12id English Answered The cost of painting a room consists of two parts. One part is directly proportional to the area and the other to the square of the length of the room.