My question is as follows (Problem 5.2 in Aluffi, Algebra: Chapter 0):
Question. For any finite field $F := \mathbb{F}_{p^d}$, show that any element $k$ can be written as a sum of two squares, i.e. there exists $x,y\in F$ such that $k = x^2 + y^2$.
I am wondering if there is a solution using primitive elements of the field $F$, as suggested by Aluffi in the hint.
The same question has been asked here, here, and here. However, all of the given answers are combinatorial (using Pigeonhole Principle), and they are not what I am looking for.