

Given equation of lines are:
y - x = 0 ..........1
x + y = 0 .........2
x - k = 0 ..........3
From euqation 1 and 2 , we get
x =0 , y= 0
From euqation 2 and 3 , we get
x =k , y= -k
From euqation 1 and 3 , we get
x =k , y= k
Now the points are (0,0), (k,-k), (k,k)
Now if three points (x1 ,y1 ), (x2 ,y2 ), (x3 ,y3 ) are given then area of triangle is
(1/2)*|x1 (y2 -y3 ) + x2 (y3 -y1 ) + x3 (y1 - y2 )|
= (1/2)*|0(-k-k) + k(k-0) + k(0+k)|
= (1/2)*|k2 + k2 |
= 2k2 /2
= k2
So area of triangle is k2
