Changing this simultaneous equation into matrix form

I have got two equations that I need help in changing to matrix format.

a=(b/(cX))+(b/(dY)) --- (1)

e=(b/(fX))+(b/(gY)) --- (2)

I know that the format for simultaneous equation to be solved by matrix got to be in the form of:

ax+by=c

dx+ey=f

but I just can't change the above (1) and (2) into that format..please help. Urgent too.

onlyXandYare unknown. The rest are all just constant. thanks again.