i'm working w/ 2 algebra problems that I can't figure out. i am studying for a test and can't understand these two questions!!!!!

Problem #1 - solve for Q

2Q = (400+Q)/Q

Problem #2 - solve for Q

(20+5Q+500)/Q = 20+10Q

Thanks for your quick response.