A certain corner of a room is selected as the origin of a rectangular coordinate system. If a fly is crawling on an adjacent wall at a point having coordinates (3.1, 0.5), where the units are meters, what is the distance of the fly from the corner of the room?