import matplotlib.pyplot as plt

# Plot two lines with labels
plt.plot([1, 2, 3], [4, 5, 6], label='Line 1')
plt.plot([1, 2, 3], [6, 5, 4], label='Line 2')

# Add legend
plt.legend()

# Add titles
plt.title('Example Plot')
plt.xlabel('X-axis')
plt.ylabel('Y-axis')

plt.show()