Find values of k if area of triangle is 4 square units and vertices are
(i) (k, 0), (4, 0), (0, 2) (ii) (−2, 0), (0, 4), (0, k)