The length of SCS relates directly to LCS: Why? The LCS appears once in the supersequence. Everything else from A and B must be added. You add characters from A and characters from B. Total: .
To construct the actual string, you need to backtrack through the LCS DP table. Understanding this concept will help you solve more complex problems.