#1 is incorrect. Would is an incorrect helping verb. It should be written in the future perfect tense as such:
By the end of this month, you will have worked fifty hours.
#2 is not written in any perfect tense. It is written in the subjunctive mood because it is a "supposition."
I don't think that is past perfect. All the perfect verb tenses specify time spans during which the verb happens. Here is the sentence:
If I had known it earlier, I would have helped you.
The verb is "to know", and so what is the time span for "to know"? A timeline would show that in the middle is "now", to the right is the future and to the left is the past. So, to the left, in the past, is "the person becomes knowing (and continues to know)", which means the verb tense could be simple past or present perfect.
All that I hear is a single point in time in the past, the simple past verb tense, written as a supposition which puts the verb in the subjunctive mood. I don't sense any time span during which the subject knew something (other than present perfect), hence no past perfect tense. Anyway, that's as best I can explain how I see it.