Not sure of you're exact question, but hope the following helps.

Unix shells are line (carriage-return, line-feed) oriented. To put multiple commands on one line, separate them with semicolons ';' (as in Example 1).
Entering:

command 1; command 2

is exactly the same as entering:

command 1
command 2

To extend a command across more than one line, use a backslash '\'.

Example 1 looks fine (for Bourne or Korn).

Example 2 looks odd in that it appears to assign a value to a value. For example:
$ORACLE_SID=REPORTS
should read
ORACLE_SID=REPORTS

In general, the syntax is "VARIABLE=value; export VARIABLE" (assuming you want it be be global).

Tim