Uh are you sure you are not suppose to find the electric field at a given point? Also maybe placing the square wire in the x-y plane will make it simpler. Regarding needing three variables k is constant, r varies (a function of a variable ex. X), and you take a small element of charge dQ (which...