When you are typing in your equations, you can use the toolbar for formatting. Greek letters and other math symbols can be found by clicking on the Σ symbol.
View attachment 223620
So, you can make your equation more readable by typing something like
F
net A, x = T + f - Mgsinθ
Note that you are assuming the friction force is acting on block A in the same direction as the tension force. I'm not sure how you decided that. (You might be right.) One way I like to approach it is to first image there is no friction in the problem and decide which way the system would start to move if there were no friction. That way I can tell which way the friction force will act when friction is present.In this equation you are taking positive direction to be upward along the incline. So, the acceleration "a" is positive when block A accelerates upward along the incline.
Now "a" represents the acceleration of block B and you are taking positive direction as vertically upward. But this conflicts with your sign convention in the equation for block A. If block A accelerates upward along the slope, then block B would accelerate vertically downward. So, if you want the same symbol "a" to represent the acceleration of A and also the acceleration of B, you will need to take the positive direction for B to be vertically downward if you take the positive direction for A to be upward along the slope.
At the beginning of the problem, you do not know if the system will start moving or not when it is released from rest. One approach is to
assume the system does not move. (So, what would be the acceleration under this assumption?) How much would the static friction force need to be to keep the system at rest? Is this much static friction available?