Rebecca went swimming yesterday. After a while she had covered one fifth of her intended distance. After swimming six more lengths of the pool, she had covered one quarter of her intended distance. How many lengths of the pool did she intend to complete?