Where's the challenge?
Sketch a construction line that is at the top crest and bottom crest location and another that is just below (oriented per your diagram) the bottom crest location. These construction lines will be constrained to points on the OD so that the geometry lines can extend beyond the body of the screw.
The distance from the last construction line and the upper one is the pitch. Set the distance between the last construction line and the bottom crest location to be the same as the minor diameter flat and they are automatically equal. This will replace the 0.8 dimension.
Cutting screw threads in models is an interesting exercise, but they are computationally expensive and provide little feedback for design purposes. For example, they don't well record the minimum and maximum threaded lengths, which a pair of datum curve circles can do. Threaded length range is useful to display that there is enough thread engagement.
I really wish PTC would make use of solid surface characteristics, such that one could apply a thread pitch and minor diameter and, when assembling, one could get feedback that the mating surface matched, and ignore interference between the major diameter solid surface of a screw and the minor diameter solid surface of the mating nut while not ignoring clearance problems with non-threaded surfaces. We're only 13.9% into the 21st Century and meaningful checks that don't produce a bazillion false positives are a lot to ask for. Yes, I know about cosmetic threads, and they don't offer this ability, and aren't particularly cosmetic, tending to show through solid features needlessly.