On a Hilbert-type inequality with a homogeneous kernel in ℝ2 and its equivalent form