Solution:
Let
3x+4y=m2,4x+3y=n2
Then
7(x+y)=m2+n2⇒7∣m2+n2
Considering m=7k+r, r∈{0,1,2,3,4,5,6}, we find that m2≡u(mod7), u∈{0,1,2,4} and similarly n2≡v(mod7), v∈{0,1,2,4}. Therefore, we have either m2+n2≡0(mod7), when u=v=0, or m2+n2≡w(mod7), w∈{1,2,3,4,5,6}.
However, from (2) we have that m2+n2≡0(mod7) and hence u=v=0 and
m2+n2≡0(mod72)⇒7(x+y)≡0(mod72)
and consequently
x+y≡0(mod7)
Moreover, from (1) we have x−y=n2−m2 and n2−m2≡0(mod7) (since u=v=0), so
x−y≡0(mod7)
From (3) and (4) we have that x+y=7k, x−y=7l, where k and l are positive integers. Hence
2x=7(k+l),2y=7(k−l)
where k+l and k−l are positive integers. It follows that 7∣2x and 7∣2y, and finally 7∣x and 7∣y.