Existence and Regularity of Periodic Solutions to Certain First-Order Partial Differential Equations