In python:
a = float(input("Enter side A: "))
b = float(input("Enter side B: "))
c = float(input("Enter side C: "))
d = float(input("Enter side D: "))
e = float(input("Enter side E: "))
print(f"Room Area: {(a * b) + ((a - c) * (d - (b + e))) + (0.5*(a - c) * e)}")
I hope this helps!