You can
put this solution on YOUR website!we really need more information...I will assume this is complementary or supplementary angles and base my answers on that assumption
:
complementary: x-6+x+2=90
:
2x=94
:

therefore the angles are

degrees.....

degrees
:
supplementary: x-6+x+2=180
:
2x=184
:

therefore the angles are

degrees.....

degrees