I'm trying to find the coordinates from the intersection point of two lines and and at the intersect def I'm having this error:

```
unsupported operand type(s) for +: 'int' and 'classobj'
```

What I can do to fix it?

```
class Point:
def __init__(self,x,y):
self.x=x
self.y=y
class Line1:
def __init__(self,a1,b1,c1):
self.a1=a1
self.b1=b1
self.c1=c1
def slope(self):
try:
return -self.a1/self.b1
except ZeroDivisionError:
return None
def isonline(self,Point):
if (self.a1*Point.x+self.b1*Point.y+self.c1)==0:
return True
else:
return False
class IntersectionPoint:
def __init__(self,a2,b2,c2):
self.a2=a2
self.b2=b2
self.c2=c2
def intersect(self,Line1):
xcord=(-Line1.a1/Line1.b1)+(self.a2/self.b2)-Line1.c1+self.c2
ycord=(-Line1.a1/Line1.b1)*xcord-self.c2
return 'True. The intersection point is: I' (xcord,ycord)
coordinatesPoint=Point(1,1)
abcfromLine=Line1(2,-1 ,-3)
Line2=IntersectionPoint(3,-1 -1, Line1)
print abcfromLine.slope()
print abcfromLine.isonline(coordinatesPoint)
print Line2.intersect(abcfromLine)
```