Can you please help me solve this problem??

The owner of a bicycle store store has a sale on bicycles and tricycles. Each cycle has 2 pedals. There are 50 pedals all together. There are 64 wheels. How many tricycles are there?

I am really rusty with math...so...yeah....