The Guitar is commonly used to create melodies and riffs for songs, as well as to accompany with harmony.
Composers build songs over the notes of scales.
The DG Guitar Scales Android application facilitates the learning of scales on this instrument, displaying all the notes and intervals of a scale, transposed to any of the 12 keys, along the fretboard.
This way you know that: the root (R) appears in 4 places, the third (M3) appears in 1 place, and the augmented fifth (a5) in 3 places.
So there are a few ways you can build this chord.
Next, you have to decide how to combine the dots such that you form a chord with the R, M3, and, a5 intervals.
Because there are six strings, there is scope for some redundancy (repeated notes).
Here are some fingering possibilities: