I spent three hours on this project last night.
It took me three hours to complete this project last night.
This project cost me three hours last night.
She spends hundreds of dollars on junk food every month.
It takes her hundreds of dollars to buy junk food every month.
Junk food costs her hundreds of dollars every month.