The Church was very young, and Jewish women were uneducated in the Torah. And with women on one side and all the men on the other, Paul didn't want a lot of questions by the women calling out to their husband on the other side, but to ask them at home. 1 Corinthians 14:34-35. However, these two verses broke up the context of what Paul was saying about Prophecy, and it is believed that these were added at a later date. Read the context without the interruption. If Paul did write against a lot of questions by the women to their husbands, it would have been at the end, not in the middle of Paul's thoughts on prophecy. Besides, women prophets could speak the word of the Lord. The gift was not just to men. So, with those two verses in the middle of his commands to prophets, he would be including women prophets also, and against their speaking out when that is not the case. Who the Spirit inspires a Word is up the the Spirit, not to Paul, or any man.
29 Let two or three prophets speak, and let the others judge. 30 But if anything is revealed to another who sits by, let the first keep silent. 31 For you can all prophesy one by one, that all may learn and all may be encouraged. 32 And the spirits of the prophets are subject to the prophets. 33 For God is not the author of confusion but of peace, as in all the churches of the saints. 36 Or did the word of God come originally from you? Or was it you only that it reached? 37 If anyone thinks himself to be a prophet or spiritual, let him acknowledge that the things which I write to you are the commandments of the Lord. 38 But if anyone is ignorant, let him be ignorant. 39 Therefore, brethren, desire earnestly to prophesy, and do not forbid to speak with tongues. 40 Let all things be done decently and in order.
As for Paul's letter to Timothy, let us first refer to his letter to the Corinthians, chapter 7 where he distinguishes between what are commandments of the Lord, and what are his own thoughts.
6 But I say this as a concession, not as a commandment. 7 For I wish that all men were even as I myself. But each one has his own gift from God, one in this manner and another in that.
8 But I say to the unmarried and to the widows: It is good for them if they remain even as I am; 9 but if they cannot exercise self-control, let them marry. For it is better to marry than to burn with passion.
10 Now to the married I command, yet not I but the Lord: A wife is not to depart from her husband. 11 But even if she does depart, let her remain unmarried or be reconciled to her husband. And a husband is not to divorce his wife. 12 But to the rest I, not the Lord, say:
To Timothy, Paul's prodigy, he is merely giving his own thoughts, not the Lord's.
8 I desire therefore that the men pray everywhere, lifting up holy hands, without wrath and doubting; 9 in like manner also, that the women adorn themselves in modest apparel, with propriety and moderation, not with braided hair or gold or pearls or costly clothing, 10 but, which is proper for women professing godliness, with good works. 11 Let a woman learn in silence with all submission. 12 And I do not permit a woman to teach or to have authority over a man, but to be in silence.
It is interesting, even today in Jerusalem at the wailing wall, you only see men there, no women. Remember, Paul was trained as a Pharisee first.