If the frame for the object is taller than the line of text in which it appears, text might overlap the imported image or you might see increased space above the line. Consider selecting a different anchored object position, inserting a soft or hard line break, resizing the inline object, or specifying a different leading value for the surrounding lines.
So I assume the question means x+11=y*2 and x-25=y/2. I couldn't write all the steps on here because I did it on paper but the answer is x = 37 and y = 24