xxxxxxxxxx
from sympy import symbols, Eq, solve
# Define the variables for the equations
x = symbols('x')
y = symbols('y')
# Define the equations
equation1 = Eq(2*x + 3*y, 9)
equation2 = Eq(4*x - 5*y, -13)
# Solve the simultaneous equations
solutions = solve((equation1, equation2), (x, y))
# Print the solutions
print(f"x = {solutions[x]}, y = {solutions[y]}")