solve this question with calculation please:

Answer:
x=80
Step-by-step explanation:
the figure depicts a pentagon.
we can use linear pair method to find x
we should find interior angles
angle E= 180-90= 90
angle D=180-60= 120
angle C=180-x
angle A= 90 given
angle B= 180-40= 140
angle sum of a pentagon = 540
by formula (n-2)180. n is the number of sides
equation= 90+120+180-x+90+140= 540
620-x= 540
620-540=x
80=x