Very similar to the way we figure out Truth Table from Circuit, we deduce Expressions as well. The basic methods like finding intermediate outputs and naming them accordingly etc are common in both the methods.
Following are the important rules to be followed for deducing Expressions from circuits. See the following:
Identify all those connections in the circuit where output of some gate is going as input to some other gate. In all these connections mark intermediate output like F1, F2, F3,.... Fn. Meanwhile ignore all the fresh inputs and final output.
Based on the specific gates, deduce the expressions for intermediate outputs and keep on doing that till expressions of all intermediate outputs are not generated.
Now the expression of final output is easy to generate based on all the expressions of intermediate outputs.
See the following example:
Here, F1 is AND of A and B, hence it becomes: (A . B). Similarly F2 is NOT of A, hence it becomes: A'. Now since F3 is OR of F1 and F2, the final output becomes: (A . B) + A'.