Cook the pasta according to package directions.
Start caramelizing the onions as it will take a long time. In a large pot add 3 Tbs olive oil and then add the onions, caramelize over low heat, until brown and sticky, will probably take an hour so keep an eye on it and stir occasionally.
Rinse lentils very well then cover with water and a pinch of salt in a pot over high heat, bring to a boil then reduce to medium and let it cook completely.
Rinse the quinoa well, drain. In a sauce pan heat 2 Tbs olive oil and toast quinoa for about 1 minutes then add 2c of water and salt. Bring to a boil, then reduce heat, cover and cook for about 15 minutes.
Let it stand for 5 minutes covered then fluff with a fork.