This question was asked in Example 1
Find equation of line which cuts equal intercepts on both axes

Arnav Singh's image